package com.wangyi.org.mapper;

import com.wangyi.basic.mapper.BaseMapper;
import com.wangyi.org.domain.Shop;
import com.wangyi.org.dto.ShopDto;

import java.util.List;

/**
 * Mapper接口：店铺
 */
public interface ShopMapper extends BaseMapper<Shop> {
    /**
     *  校验是否曾经入驻过方法
     */
     Shop loadByMessage(Shop shop);

    /**
     * 获取店铺状态 - 做柱状图
     * @return
     */
    List<ShopDto> getShopState();
}
